package com.ruoyi.project.channel.goodsInfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 商品表 goods_info
 * 
 * @author CAIN
 * @date 2021-01-17
 */
public class GoodsInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 商品id */
	private Long productId;
	/** 商品名称 */
	private String productName;
	/** 商品价格 */
	private BigDecimal price;
	/** 刷单总量限制 */
	private Integer clickCount;
	/** 当前已刷次数 */
	private Integer totlaCount;
	/** 状态 */
	private String useStatus;
	/** 图片地址 */
	private String imgUrl;

	public void setProductId(Long productId) 
	{
		this.productId = productId;
	}

	public Long getProductId() 
	{
		return productId;
	}
	public void setProductName(String productName) 
	{
		this.productName = productName;
	}

	public String getProductName() 
	{
		return productName;
	}
	public void setPrice(BigDecimal price) 
	{
		this.price = price;
	}

	public BigDecimal getPrice() 
	{
		return price;
	}
	public void setClickCount(Integer clickCount) 
	{
		this.clickCount = clickCount;
	}

	public Integer getClickCount() 
	{
		return clickCount;
	}
	public void setTotlaCount(Integer totlaCount) 
	{
		this.totlaCount = totlaCount;
	}

	public Integer getTotlaCount() 
	{
		return totlaCount;
	}
	public void setUseStatus(String useStatus) 
	{
		this.useStatus = useStatus;
	}

	public String getUseStatus() 
	{
		return useStatus;
	}
	public void setImgUrl(String imgUrl) 
	{
		this.imgUrl = imgUrl;
	}

	public String getImgUrl() 
	{
		return imgUrl;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("price", getPrice())
            .append("clickCount", getClickCount())
            .append("totlaCount", getTotlaCount())
            .append("useStatus", getUseStatus())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("imgUrl", getImgUrl())
            .toString();
    }
}
